package com.xucy.springboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class ViewController {

    @RequestMapping("/index")
    public String index() {
        System.out.println("进来了");
        return "views/index.html";
    }

    @RequestMapping("/jquery")
    public String jquery() {
        System.out.println("进来了111111");
        return "views/jquery-1.12.3.min.js";
    }

    @RequestMapping("/jquery1")
    public String jquery1() {
        System.out.println("进来了22222");
        return "views/named.js";
    }
}
